Skip to main content

All Questions

1vote
5answers
2kviews

How to avoid object cast after passing a parameter?

I have a problem with implementing generic user interface interaction. I have different classes that contain data each for particular interface element. So every UserInterfaceElementComponent has ...
Candid Moon _Max_'s user avatar
3votes
11answers
2kviews

OO Software Architecture - base class that everything inherits from. Bad/good idea?

I am reviewing a proposed OO software architecture that looks like this: Base Foo Something Bar SomethingElse Where Base is a static class. My immediate thought was that every object in any class ...
ale's user avatar
  • 1,062
39votes
11answers
15kviews

Are abstract classes / methods obsolete?

I used to create a lot of abstract classes / methods. Then I started using interfaces. Now I am not sure if interfaces aren't making abstract classes obsolete. You need a fully abstract class? ...
Boris Yankov's user avatar

close